<template>
	<div>
		<p>抱歉您未订购此业务</p>
		<p>{{ seconds }}后返回首页</p>
		<a class="back" href="http://221.179.197.232">返回首页</a>
	</div>
</template>

<script>
	export default{
		data(){
			return{
				seconds:3
			}
		},
		created(){
			var that=this;
			var time=setInterval(()=>{
				if(that.seconds>0){
					that.seconds--
				}else{
					clearInterval(time)
					window.location.href='http://221.179.197.232'
				}
			},1000)
		}
	}
</script>

<style scoped>
	div{
		height: 800px;
		background: url(../assets/images/notorder.png) no-repeat center;
		padding-top: 255px;
	}
	p:nth-of-type(1){
		text-align: center;
		font-size: 16px;
		color: #4A4A4A;
	}
	p:nth-of-type(2){
		text-align: center;
		font-size: 12px;
		color: #979797;
		margin-top: 7px;
	}
	.back{
		display: block;
		background: #14ACF4;
		width: 160px;
		height: 45px;
		line-height: 45px;
		font-size: 14px;
		color: #FFFFFF;
		text-align: center;
		margin: 0 auto;
		margin-top: 179px;
		text-decoration: none;
		border-radius: 23px;
	}
</style>